package finalize;

public class testclass {

	public static void main(String[] args) {
	
	Book novel=new Book(true);
	//proper cleanup
	novel.checkIn();
	//drop reference ,forget to cleanup
	new Book(true);
	//force garbage collection and finalization
	System.gc();
			
		
		
		
	}
}
